package com.chinalife.project.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @description 返回值错误码
 * @author 18101119
 * @date 2024/3/25 13:57
 * @email songxinhang2023@e-chinalife.com
 * @id 18101119
 * @phone 13001321080
 */
@Getter
@AllArgsConstructor
public enum ResponseCodeEnums {

  // 成功
  SUCCESS(200, "success"),
  // 失败
  FAIL(500, "failed");


  private final int code;

  private final String message;
}